package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 请购场景表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SHOPPING_SCENARIO_DTL")
@ApiModel(value="ShoppingScenarioDtl对象", description="请购场景表明细")
public class ShoppingScenarioDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表头UUID，唯一关联字段")
    @TableField("UUID")
    private String uuid;

    @ApiModelProperty(value = "行编号")
    @TableField("SSD_ROW_ID")
    private Integer ssdRowId;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "数量")
    @TableField("QUANTITY")
    private Double quantity;

    @ApiModelProperty(value = "长协编号")
    @TableField("LONG_CONTRACT_CODE")
    private String longContractCode;

    @ApiModelProperty(value = "品牌")
    @TableField("BRAND")
    private String brand;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getSsdRowId() {
        return ssdRowId;
    }

    public void setSsdRowId(Integer ssdRowId) {
        this.ssdRowId = ssdRowId;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public String getLongContractCode() {
        return longContractCode;
    }

    public void setLongContractCode(String longContractCode) {
        this.longContractCode = longContractCode;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        return "ShoppingScenarioDtl{" +
                "uuid='" + uuid + '\'' +
                ", ssdRowId=" + ssdRowId +
                ", materialNo='" + materialNo + '\'' +
                ", quantity=" + quantity +
                ", longContractCode='" + longContractCode + '\'' +
                ", brand='" + brand + '\'' +
                '}';
    }
}
